package com.hoshiicloud.purchase.feign;

import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.saleorder.param.OrderInfoQueryParam;
import com.hoshiicloud.saleorder.param.OrderMainUpdateParam;
import java.util.List;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @program: hoshiicloud
 * @description: 订单服务
 * @author: Mr.wu
 * @create: 2019-07-16 18:22
 **/
@FeignClient(name = "hoshiicloud-sale-order")
public interface OrderService {
    @PostMapping(value = "/saleorder/order-info/query/page")
    public Response getOrderInfoPage(OrderInfoQueryParam param);
    @PostMapping(value = "/saleorder/order-main/getByIds")
    public Response getOrderMainByIds(List<Long> ids);

    @PostMapping(value = "/saleorder/order-main/update")
    public Response updateOrderMain(OrderMainUpdateParam param);
}
